package com.zhisland.base.support.test.manager;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 作者: guo yao
 * 日期: 2016年11月21日
 * 时间: 下午17:31
 */

@Component
@ConfigurationProperties(prefix = "user", locations = {"classpath:config/settings.properties"})
public class User {

    private String name;
    private String age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
